package com.ruoyi.driver.mapper;

import com.ruoyi.driver.domain.CarownerVehicleroute;

import java.util.List;


/**
 * 车辆路线Mapper接口
 * 
 * @author Wevon
 * @date 2024-08-13
 */
public interface CarownerVehiclerouteMapper 
{
    /**
     * 查询车辆路线
     * 
     * @param id 车辆路线主键
     * @return 车辆路线
     */
    public CarownerVehicleroute selectCarownerVehiclerouteById(Long id);

    /**
     * 查询车辆路线列表
     * 
     * @param carownerVehicleroute 车辆路线
     * @return 车辆路线集合
     */
    public List<CarownerVehicleroute> selectCarownerVehiclerouteList(CarownerVehicleroute carownerVehicleroute);

    /**
     * 新增车辆路线
     * 
     * @param carownerVehicleroute 车辆路线
     * @return 结果
     */
    public int insertCarownerVehicleroute(CarownerVehicleroute carownerVehicleroute);

    /**
     * 修改车辆路线
     * 
     * @param carownerVehicleroute 车辆路线
     * @return 结果
     */
    public int updateCarownerVehicleroute(CarownerVehicleroute carownerVehicleroute);

    /**
     * 删除车辆路线
     * 
     * @param id 车辆路线主键
     * @return 结果
     */
    public int deleteCarownerVehiclerouteById(Long id);

    /**
     * 批量删除车辆路线
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCarownerVehiclerouteByIds(Long[] ids);
}
